<extend name="Public/Dialog/Common"/>
<block name="pageContent">
    <div class="bjui-pageContent">
        <form action="<literal>__ACTION__</literal>" class="pageForm" data-toggle="validate" method="post">
            <!-- 菜单id号 -->
            <input type="hidden" name="id" value="<literal>{:I('get.id')}</literal>">
            <table class="table table-condensed table-hover">
                <tbody>
                <tr>
                    <td colspan="2" align="center">
                        <h3>
                            添加{$tableArray['comment']?$tableArray['comment']:"操作"}
                        </h3>
                    </td>
                </tr>
                <volist name="tableInfoArray" id="tableInfo">
                    <if condition="$tableInfo[$columnNameKey] neq 'id'">
                    <tr>
                        <td>
                            <label class="control-label x90">{$tableInfo[$columnCommentKey]|disposColumnComment=$tableInfo[$columnNameKey]}：</label>
                            <input type="text" data-rule="required" size="20" name="{$tableInfo[$columnNameKey]}" value="<literal>{$vo.</literal>{$tableInfo[$columnCommentKey]|disposColumnFunction=$tableInfo[$columnNameKey]}}">
                        </td>
                    </tr>
                    </if>
                </volist>
                </tbody>
            </table>
        </form>
    </div>
</block>
